using System.ComponentModel.DataAnnotations;

namespace BW.Demo.Domain.Entities
{
    /// <summary>
    /// 溯源管理详情-养殖企业信息
    /// </summary>
    public class BreedingEnterprise
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int BreedingId { get; set; }

        /// <summary>
        /// 养殖场
        /// </summary>
        [MaxLength(50)]
        public string Farms { get; set; } = string.Empty;

        /// <summary>
        /// 负责人
        /// </summary>
        [MaxLength(50)]
        public string Head { get; set; } = string.Empty;

        /// <summary>
        /// 存栏数量
        /// </summary>
        public int Number_Stocks { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        [MaxLength(50)]
        public string Batch { get; set; } = string.Empty;
    }
}
